package com.cskaoyan.javase.oop1._15access._2member.test;

import com.cskaoyan.javase.oop1._15access._2member.AccessDemo;
// import com.cskaoyan.javase.oop1._15access._2member.Student;

/**
 * 跨包下的测试类
 * @since 14:41
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo {
    public static void main(String[] args) {
        AccessDemo ad = new AccessDemo();
        System.out.println(ad.num);
        // 'numStatic' is not public in 'com.cskaoyan.javase.oop1._15access._2member.AccessDemo'. Cannot be accessed from outside package
        // AccessDemo.numStatic;
        // Object o  = ad.method();
    }
}
